};
/* keep sorted when changing */
-static const char *color_option_whitelist[] = {
+static const char *color_option_allow_list[] = {
"BRColorEnhancement",
"BRColorMatching",
"BRColorMatching",
};
/* keep sorted when changing */
-static const char *color_group_whitelist[] = {
+static const char *color_group_allow_list[] = {
"ColorPage",
"FPColorWise1",
"FPColorWise2",
};
/* keep sorted when changing */
-static const char *image_quality_option_whitelist[] = {
+static const char *image_quality_option_allow_list[] = {
"BRDocument",
"BRHalfTonePattern",
"BRNormalPrt",
};
/* keep sorted when changing */
-static const char *image_quality_group_whitelist[] = {
+static const char *image_quality_group_allow_list[] = {
"FPImageQuality1",
"FPImageQuality2",
"FPImageQuality3",
};
/* keep sorted when changing */
-static const char * finishing_option_whitelist[] = {
+static const char * finishing_option_allow_list[] = {
"BindColor",
"BindEdge",
"BindType",
};
/* keep sorted when changing */
-static const char *finishing_group_whitelist[] = {
+static const char *finishing_group_allow_list[] = {
"FPFinishing1",
"FPFinishing2",
"FPFinishing3",
};
/* keep sorted when changing */
-static const char *cups_option_blacklist[] = {
+static const char *cups_option_ignore_list[] = {
"Collate",
"Copies",
"OutputOrder",
char *option_name;
int i;
- if (STRING_IN_TABLE (ppd_option->keyword, cups_option_blacklist))
+ if (STRING_IN_TABLE (ppd_option->keyword, cups_option_ignore_list))
return;
option_name = get_ppd_option_name (ppd_option->keyword);
const char *name;
name = ppd_group_name (toplevel_group);
- if (STRING_IN_TABLE (name, color_group_whitelist) ||
- STRING_IN_TABLE (ppd_option->keyword, color_option_whitelist))
+ if (STRING_IN_TABLE (name, color_group_allow_list) ||
+ STRING_IN_TABLE (ppd_option->keyword, color_option_allow_list))
{
option->group = g_strdup ("ColorPage");
}
- else if (STRING_IN_TABLE (name, image_quality_group_whitelist) ||
- STRING_IN_TABLE (ppd_option->keyword, image_quality_option_whitelist))
+ else if (STRING_IN_TABLE (name, image_quality_group_allow_list) ||
+ STRING_IN_TABLE (ppd_option->keyword, image_quality_option_allow_list))
{
option->group = g_strdup ("ImageQualityPage");
}
- else if (STRING_IN_TABLE (name, finishing_group_whitelist) ||
- STRING_IN_TABLE (ppd_option->keyword, finishing_option_whitelist))
+ else if (STRING_IN_TABLE (name, finishing_group_allow_list) ||
+ STRING_IN_TABLE (ppd_option->keyword, finishing_option_allow_list))
{
option->group = g_strdup ("FinishingPage");
}
for (i = 0; i < num_opts; i++)
{
- if (STRING_IN_TABLE (opts[i].name, cups_option_blacklist))
+ if (STRING_IN_TABLE (opts[i].name, cups_option_ignore_list))
continue;
name = get_lpoption_name (opts[i].name);